<extend name="Public/user"/>
<block name="link">
	<title>包裹列表</title>
	<link href="/static/lida/css/tran_style.css" rel="stylesheet" type="text/css" />
	<link href="__CSS__/bootstrap.min.css" rel="stylesheet"/>
	<script src="__JS__/jquery.js"></script>
	<script src="__JS__/bootstrap.js"></script>
	<link href="__CSS__/wdzh-style.css" rel="stylesheet"/>
	<link rel="stylesheet" type="text/css" href="__CSS__/common.css">

</block>
<block name="user-right">
	<div class="main_r f_fr">
		<div class="d_r_up f_fl">
			<img src="__UP__/{$user.touxiang|default='/Avatar/default/avatar.jpg'}" class="f_fl"/>
			<ul class="up_menu f_fr">
				<li>
					会员:<span>{$user.nickname}</span>
				</li>
				<li>
					{:lang('email')}:{$user.email}
				</li>
				<li>

                                 <span style="color:#FFC66D;">
                                   余额:
                                 </span>
					<span style="color:#666;">{$user.money}</span>
					<span style="color:#FFC66D;">{:config('MAIN_COIN')}</span>
				</li>
				<li>
					<a href="{:url('User/chongzhi')}" class="btn btn-warning">{:lang('recharge')}</a>
					<!--<button type="button" class="btn btn-warning">快速发货</button>-->
				</li>
			</ul>
		</div>
		<div class="home_dz f_fr">
			<h3 class="home_dz_title">
				{:lang('account_records')}

			</h3>
			<table class="table table-striped table-bordered">

				<tbody>
				<tr>
					<th class="w150">{:lang('time')}</th>
					<th class="w100">{:lang('cate')}</th>
					<th class="w90">{:lang('type')}</th>

					<th>{:lang('remark')}</th>

					<th class="w100">{:lang('amount')}({:config('MAIN_COIN')})</th>
				</tr>
				<if condition="$list">
				<volist name="list" id="v">
					<tr>
						<td>{$v.addtime|time_format}</td>
						<td><eq name="v.type" value="1">{:lang('income')}</eq><eq name="v.type" value="2">{:lang('expenditure')}</eq></td>
						<td>{$v.leixing|getrecordleixing}</td>
						<td>{$v.remark}</td>
						<td>{$v.money}</td>
						<!-- 	<td>{$v.accountmoney}</td>-->
					</tr>
				</volist>
				<else />
					<tr>
						<td colspan="5">
						<span style="color:#999;">{:lang('no_infos')},&nbsp;</span>
						<a href="{:url('User/yubaoadd')}">{:lang('daiyun_order')}</a>
						<a href="{:url('User/chongzhi')}">{:lang('recharge')}</a>
					    </td>
					</tr>
				</if>
				</tbody>


			</table>
			<div style="margin-left:25px;">
				{$_page}

			</div>
		</div>
	</div>
</block>